from django.conf.urls import patterns, include, url


from login import views

urlpatterns = patterns('',

    url(r'^$', views.index,name='index'),

    #url(r'^login_user/$', views.login_user,name='login_user'),
    #url(r'^reg_user/$', views.reg_user,name='reg_user'),
    #url(r'^logout_user/$', views.logout_user,name='logout_user'),

    url(r'^search_hotel/$', views.search_hotel,name='search_hotel'),


    #this is ba3ta in ulr so... use /$ ==ay 7aga ttba3t ba3d slash
    url(r'^gallery/$', views.gallery,name='gallery'),


    url(r'^index/$', views.index,name='index'),
    url(r'^reviews/$', views.reviews,name='reviews'),
    url(r'^new_review/$', views.new_review,name='new_review'),
    url(r'^add_review/$', views.add_review,name='add_review'),

    url(r'^booking/$', views.booking,name='booking'),
    url(r'^check_ava/$', views.check_ava,name='check_ava'),

    url(r'^no_result/$', views.no_result,name='no_result'),



    #r'^User/(?P<userid>\d+)/$'
    #'^user/(?P<username>\w{0,50})/$'
    #url(r'^gallery/(?P<hotel_id>\d+)/$', views.gallery,name='gallery'),
    #url(r'^gallery/(?P<hotel_id>\w{0,50})/$', views.gallery,name='gallery'),
    #url(r'^gallery/$', views.gallery,name='gallery'),
    #url(r'^search_hotel/$','login.views.search_hotel'),
    #url(r'^search_hotel/$','login.views.search_hotel'),

    #url(r'signup.html', views.signup,name='signup'),

    #url(r'sign_in.html', views.sign_in,name='sign_in'),

    #url(r'login_user.html', views.login_user,name='login_user'),

    #url(r'auth.html',views.login_user,name='auth'),
)


